package com.itheima.object.Student;

public class text {
    public static void main(String[] args) {
        test p1 = new test();
        p1.name="张三";
        p1.age=18;
        test p2 = p1;
        p2.name="李四";
        System.out.print("p1.name="+p1.name+",p1.age="+p1.age+" ");
        System.out.print("p2.name="+p2.name+",p2.age="+p2.age+" ");
    }
}
